package com.xinghai.system.domain.dto;

import com.xinghai.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *  耗材明细DTO
 * 
 * @author xinghai
 * @date 2024-07-17
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class ConsumablesDetailDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    //用车申请id
    private String vehicleId;

    //需求人
    @Excel(name = "需求人", width = 30)
    private String needUserName;

    //发货设备
    @Excel(name = "发货设备", width = 30)
    private String deviceName;

    //项目名称
    @Excel(name = "项目名称", width = 50)
    private String projectName;

    //需求车型
    @Excel(name = "需求车型", width = 30)
    private String needVehicle;

    //要求发货日期
    @Excel(name = "要求发货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String deliverDate;

    //始发地
    @Excel(name = "始发地", width = 60)
    private String beginAddr;

    //目的地
    @Excel(name = "目的地", width = 60)
    private String endAddr;

    //耗材类型
    @Excel(name = "耗材类型", width = 30, readConverterExp = "0=需求人,1=装车人")
    private String type;

    //耗材设备
    @Excel(name = "耗材设备", width = 30)
    private String sendDevice;

    //尺寸
    @Excel(name = "尺寸", width = 30)
    private String size;

    //单位
    @Excel(name = "单位", width = 30)
    private String unit;

    //数量
    @Excel(name = "数量", width = 30)
    private String count;
}
